package com.layui.ad.enums;


public enum  BrokerEnum {
    EMPLOYEE(90, "员工"),
    BUY_SALE_BROKER(81, "买卖经纪人"),
    RENT_BROKER(80, "租赁经纪人"),
    ALL_ROUND_BROKER(85, "全能经纪人"),
    AREA_ADMIN(40, "区总监"), // 大区
    GROUP_ADMIN(60, "区经理"), // 小区
    SHOP_GROUP_ADMIN(50, "商圈经理"), // 登录人有店组id则为店长,没有店组id则为区经
    SHOP_ADMIN(100, "店长") // 店
    ;

    private Integer code;
    private String name;

    BrokerEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
